package com.ruoyi.business.service;

import java.util.List;
import com.ruoyi.business.domain.EmployeePerformance;

/**
 * 员工年度绩效Service接口
 * 
 * @author ruoyi
 * @date 2024-11-18
 */
public interface IEmployeePerformanceService 
{
    /**
     * 查询员工年度绩效
     * 
     * @param id 员工年度绩效主键
     * @return 员工年度绩效
     */
    public EmployeePerformance selectEmployeePerformanceById(Long id);

    /**
     * 查询员工年度绩效列表
     * 
     * @param employeePerformance 员工年度绩效
     * @return 员工年度绩效集合
     */
    public List<EmployeePerformance> selectEmployeePerformanceList(EmployeePerformance employeePerformance);

    /**
     * 新增员工年度绩效
     * 
     * @param employeePerformance 员工年度绩效
     * @return 结果
     */
    public int insertEmployeePerformance(EmployeePerformance employeePerformance);

    /**
     * 修改员工年度绩效
     * 
     * @param employeePerformance 员工年度绩效
     * @return 结果
     */
    public int updateEmployeePerformance(EmployeePerformance employeePerformance);

    /**
     * 批量删除员工年度绩效
     * 
     * @param ids 需要删除的员工年度绩效主键集合
     * @return 结果
     */
    public int deleteEmployeePerformanceByIds(Long[] ids);

    /**
     * 删除员工年度绩效信息
     * 
     * @param id 员工年度绩效主键
     * @return 结果
     */
    public int deleteEmployeePerformanceById(Long id);

    String importData(List<EmployeePerformance> userList, boolean updateSupport, String operName);
}
